from odoo import api, models, fields


class EstatePropertyOffer(models.Model):
    _name = 'estate.property.offer'
    _description = '优惠'

    price = fields.Float(sting='Price')
    status = fields.Selection([('accepted', '已接受'),('refused', '已拒绝')], string='Status')
    partner_id = fields.Many2one('res.partner', string='客户')
    property_id = fields.Many2one('estate.property')

